package com.kobe.manager.purposeManager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.kobe.common.annotation.Excel;
import com.kobe.common.core.domain.BaseEntity;

/**
 * 采购意向对象 sys_oa_purpose
 *
 * @author panchengjiang
 * @date 2025-10-23
 */
public class Purpose extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    private Long purposeId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String purposeTitle;

    /** 采购单位 */
    @Excel(name = "采购单位")
    private String subhead;

    /** 预算金额 */
    @Excel(name = "预算金额")
    private String budget;

    /** 采购需求情况 */
    @Excel(name = "采购需求情况")
    private String content;

    /** 预计采购时间 */
    @Excel(name = "预计采购时间")
    private String purposeTime;

    /** 是否投标(1是 0否) */
    @Excel(name = "是否投标(1是 0否)")
    private String isBid;

    /** 附件 */
    @Excel(name = "附件")
    private String accessory;

    public void setPurposeId(Long purposeId)
    {
        this.purposeId = purposeId;
    }

    public Long getPurposeId()
    {
        return purposeId;
    }

    public void setPurposeTitle(String purposeTitle)
    {
        this.purposeTitle = purposeTitle;
    }

    public String getPurposeTitle()
    {
        return purposeTitle;
    }

    public void setSubhead(String subhead)
    {
        this.subhead = subhead;
    }

    public String getSubhead()
    {
        return subhead;
    }

    public void setBudget(String budget)
    {
        this.budget = budget;
    }

    public String getBudget()
    {
        return budget;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setPurposeTime(String purposeTime)
    {
        this.purposeTime = purposeTime;
    }

    public String getPurposeTime()
    {
        return purposeTime;
    }

    public void setIsBid(String isBid)
    {
        this.isBid = isBid;
    }

    public String getIsBid()
    {
        return isBid;
    }

    public void setAccessory(String accessory)
    {
        this.accessory = accessory;
    }

    public String getAccessory()
    {
        return accessory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("purposeId", getPurposeId())
                .append("purposeTitle", getPurposeTitle())
                .append("subhead", getSubhead())
                .append("budget", getBudget())
                .append("content", getContent())
                .append("purposeTime", getPurposeTime())
                .append("isBid", getIsBid())
                .append("accessory", getAccessory())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
